Migration from blocking to non-blocking web frameworks
نویسنده
چکیده
Context. The problem of performance and scalability of web applications is challenged by most of the software companies. It is difficult to maintain the performance of a web application while the number of users is continuously increasing. The common solution for this problem is scalability. A web application can handle incoming and outgoing requests using blocking or non-blocking Input/Output operation. The way that a single server handles requests affects its ability to scale and depends on a web framework that was used to build the web application. It is especially important for Resource Oriented Architecture (ROA) based applications which consist of distributed Representational State Transfer (REST) web services. This research was inspired by a real problem stated by a software company that was considering the migration to the non-blocking web framework but did not know the possible profits. Objectives. The objective of the research was to evaluate the influence of web framework’s type on the performance of ROA based applications and to provide guidelines for assessing profits of migration from blocking to non-blocking JVM web frameworks. Methods. First, internet ranking was used to obtain the list of the most popular web frameworks. Then, the web frameworks were used to conduct two experiments that investigated the influence of web framework’s type on the performance of ROA based applications. Next, the consultations with software architects were arranged in order to find a method for approximating the performance of overall application. Finally, the guidelines were prepared based on the consultations and the results of the experiments. Results. Three blocking and non-blocking highly ranked and JVM based web frameworks were selected. The first experiment showed that the non-blocking web frameworks can provide performance up to 2.5 times higher than blocking web frameworks in ROA based applications. The experiment performed on existing application showed average 27% performance improvement after the migration. The elaborated guidelines successfully convinced the company that provided the application for testing to conduct the migration on the production environment. Conclusions. The experiment results proved that the migration from blocking to nonblocking web frameworks increases the performance of web application. The prepared guidelines can help software architects to decide if it is worth to migrate. However the guidelines are context depended and further investigation is needed to make it more general.
منابع مشابه
Study on duration of maternal antibodies in calves against Bovine Herpes virus (BHV-1)
In order to estimate the mean of maternal antibody in calves against BHV-1 (Bovine Herpes virus type 1), this study was carried out in a population of calves from non-vaccinated dairy cattle at 2 livestock in Qazvin province. One hundred thirteen sera out of 512 were collected from 1-4 months unvaccinated calves. We used Blocking –Percentage of maternal antibodies against BHV-1, which obtained ...
متن کاملModeling and Analysis of Vehicles Flow on the Road
Abstract: This study is carried out to describe the behaviour of vehicles flow on the road, in the presence of blocking effects. A non-linear three dimensional system of ordinary differential equations is used to describe vehicles flow on the road. The study classify total vehicles population on the road into three compartments as Free – Slow – Released vehicles. The formulated model is well-po...
متن کاملNon-Blocking Routers Design Based on West First Routing Algorithm & MZI Switches for Photonic NoC
For the first time, the 4- and 5-port optical routers are designed by using the West First routing algorithm for use in optical network on chip. The use of the WF algorithm has made the designed routers to provide non-blocking routing in photonic network on chip. These routers not only are based on high speed Mach-Zehnder switches(Which have a higher bandwidth and more thermal tolerance than mi...
متن کاملNon-Blocking Routers Design Based on West First Routing Algorithm & MZI Switches for Photonic NoC
For the first time, the 4- and 5-port optical routers are designed by using the West First routing algorithm for use in optical network on chip. The use of the WF algorithm has made the designed routers to provide non-blocking routing in photonic network on chip. These routers not only are based on high speed Mach-Zehnder switches(Which have a higher bandwidth and more thermal tolerance than mi...
متن کاملFurther Observations on Blocking Zeros in Linear Muitivariabie systems (RESEARCH NOTE).
While attempting to clarify the confusion concerning the conceptualization of "blocking zeros" in state space in the recent literature, some new observations are made on the relationship between pole-zero cancellation and transmission blocking. An important distinction between uncontrollable and unobservable eigenvalue s is pointed out; and it is argued that the description of a Blocking Zero, ...
متن کامل